###
# Author: Samir Nasher Taher
# License: AGPLv3,  for the license text see ../LICENSE
# Description: Test which builds on the tcp_latency library
###

from modules import CONFIG
from modules.Test import Test

from tcp_latency import measure_latency

class Test_tcp_latency(Test):
    def getResults(self):
        return measure_latency(host=self.host, port=80, runs=CONFIG.MEASUREMENTS, timeout=CONFIG.TIMEOUT)
    def getName(self):
       return "tcp-latency"
